package org.ctsi.rsds.base.dao;

import java.util.Date;

import org.ctsi.rsds.base.rest.ListClause;

public abstract class BasePOJO {
	
	public BasePOJO(){
		ListClause.entityMap.put(this.getClass().getSimpleName().toLowerCase(), this.getClass().getName());
	}
	
    public enum OperEnum {
    	eql(" = "), notnull(" is not null"), like(" like ");
    	
    	private final String value;
    		
    	OperEnum(String value) {
            this.value = value;
        }
        
        public String getValue() {
            return value;
        }
    }
	
	protected String uuid ;
    
    private Date created = new Date();

    private Date removed;
    
    public String getUuid() {
        return uuid;
    }

    public void setUuid(String uuid) {
        this.uuid = uuid;
    }
    
    public Date getCreated() {
        return created;
    }

    public void setCreated(Date created) {
        this.created = created;
    }
    
    public Date getRemoved() {
        return removed;
    }

    public void setRemoved(Date removed) {
        this.removed = removed;
    }
}
